package com.jolink.omiis.wechat.keys;

import com.jolink.omiis.wechat.mongo.IPreferenceKeys;

/**
 * 
 * 微信开放平台KEY定义
 * 
 * @author WangYanqing
 *
 */
public interface IPreferences extends IPreferenceKeys {

	String DATE_FORMAT_1 = "yyyyMMdd";
	String MONGODB_ROBOTMESSAGE = "robotMessage";
	String AUTO_SENDER_KEY = "System";
	String OM_MESSAGE_TIP = "OM_MESSAGE_TIP";

	String OMIIS_PLATFORM_LOCAL = "OMIIS_PLATFORM_LOCAL";

	/**
	 * 管理台配置后刷新Redis
	 */
	String REFRESH_MODEL_SUBJECT = "OM/JTOP_APP_REFRESH_REDIS_MODEL";
	// String MQ_WORK_DAY_KEY = "OM/JTOP_APP_OM_BASE_WORKDAY_INFO_MODEL";

	/**
	 * 超时配置提示语
	 */
	String OM_PARAM_CONFIG = "OM_PARAM_CONFIG";
	String WORKDAY_KEY = "WORKDAY_";

	/**
	 * 机器人自助交互-微信渠道
	 */
	String CHANNEL_ID = "WECHAT";

	String REST_TIME_TIP = "restTimeTip";

	/**
	 * 微信欢迎语，暂时默认配置，后续改为读取Redis
	 */
	String WECHAT_DEFAULT_WELCOME = "您好，欢迎关注58钱柜！";

	/**
	 * 配置文件，所有配置在这里配置，会在服务启动的时候，统一加载
	 */
	String SETTING_FILE = "./config/setting.properties";

	/**
	 * 素材配置文件
	 */
	String MATERIAL_CONFIG_PATH = "./config/material.properties";

	/**
	 * 微信欢迎语，存储key
	 */
	String WECHAT_WELCOME = "WECHAT_WELCOME";
	String TOKEN = "token";
	String APP_SECRET = "app_secret";
	// String TOKEN = "omiiswechat20160730";
	String AMP = "&";

	/**
	 * 存储微信公众号的redis集合key
	 */
	String COMPANY_SET = "COMPANY_SET";

	/**
	 * 微信用户集合列表
	 */
	String WECHAT_USER_SET = "WECHAT_USER_SET";

	/**
	 * 微信用户Queue列表
	 */
	String WECHAT_QUEUE_SET = "WECHAT_QUEUE_SET";
	/**
	 * 三方平台信息 key redis key
	 */
	String COMPONENT_ID = "component_info";
	/**
	 * 第三方平台app_id
	 */
	String COMPONENT_APP_ID = "app_id";
	/**
	 * 微信公众号app_id
	 */
	String COMPANY_ID = "app_id";
	/**
	 * 微信公众号app_id
	 */
	String COMPANY_APP_ID = COMPANY_ID;
	/**
	 * 加密key
	 */
	String ENCRYPT_KEY = "encrypt_key";

	/**
	 * 微信公众号信息key，此字段为前缀，后拼接app_id
	 */
	String COMPANY_REDIS_PREFIX = "gzh_app_info";

	/**
	 * 微信用户信息前缀，存储于redis
	 */
	String WECHAT_USER_PREFIX = "C_";
	String AGENT_PREFIX = "A_";

	/**
	 * 微信用户会话前缀，存储于redis
	 */
	String WECHAT_SESSION_PREFIX = "S_";

	String AGENT_SET = "AGENT_SET";

	/**
	 * 综合配置文件路径
	 */
	String APP_SETTING = "./config/app.setting";
	/**
	 * 日志配置文件，使用logback
	 */
	String LOG_BACK_CONFIG = "./config/logback.xml";

	String SESSION_ID_KEY = "session_id";

	String DOWNLOAD_TEMP_PATH = "./material";

	String IS_PERFORMANCE_TEST = "IS_PERFORMANCE_TEST";
}
